renamed data_layer namespace to data. Added detailed doxygen comments.