Adding DbAdapter.java

Signed-off-by: mohsen <kamrani@ce.sharif.edu>
Adding the Manipulator.java