Created a class for Attributes.

- Renamed 'data_loader.class.php' to 'dim_met.class.php'.
- Created 'attributes.class.php'.
- Moved some functions to other classes.