Database backend

Was able to get access to a MySQL database and made appropriate changes.