broken
Merge pull request #22 from Tzinov15/jkinnard

started database functions; broken for now