Updated Database + Order class

Edited order class to match the class diagram
Finished the database auto-generation
Made minor updates to other classes to follow the better practice for
id's as explained earlier by 3 members of team