Added support classes
Added initial query operator class for later use
Moved datastore operation from DB to ObjectStore