Added database connectivity

Server now connects to a MySQL database. Connectivity will be merged in
the app in future builds.