Added query building functionality
Started base of Model