init CRM + loads of fixes