Add rules to setupFormVariables function
Insist rules be an array
Add rules to create action
Remove unused things
Added territories
Tweaked customer views