base class to stord attributes in one array.
$data : array
__construct( $config = array())
__set( $var, $val)
__get( $var)