SQLite database creation and connection

Server now checks if the database exists and creates it if not, it then
runs a test command to interact with the database