Object data mapper and advanced query manager for non relational databases