better templates and refactored code for crm.rb