Implemented crudOptionsCreater to avoid code-duplication.