added a class method to run crm, also too tired to continue, will work on more tomorrow