Database connection

Added connection to database, created SQL queries, messing with ability
to change theme