Refactored the database table
Database refactor, fleshed out the skeliton for basic
time adding functionality. Bare minimum to start testing stuff