resolve #1

added DBObjectController with tests