moved Datastore Interface to database package
introduced DB access interface
refactoring