Added db controller and classes for tables.
Added DB file and constants.
Added handling of db access. Changed title of app.