Fleshed out DBManager functionality

finished insertRecord and insertTable, getLesson should work, getRecord
still needs doing, but I want to discuss how we're doing it first