getInstance of database handler wasn't synchronized
Seperating data access into seperate classes with interfaces