improved copy constructor and assignment constructor. DataFormat can store itself in the databse now