Fiddling around with database

Currently, the file OrderController is in charge of db management.