Started work on connecting to database