written more tests, added the first implementation of the database agent and wrapper