Refactored ICriteria to ICommand and IBuilder
Repository can now execute commands as well