remove throws DatabaseException from methods
bug fix: replace findOne with findAll, replace deprecated methods
fix tests, add tests
add hashcode and equals