Extracted DB related constants to DAO
Added some command line options
Uncommented table creation that made stuff fail
Evolutions to get to the current state of the DB