Updated QueryBuilder to use namespace and classname provided by the CompanionGenerator
Added initial version of Repository class