Made groups work
added some code contracts
Merge branch 'master' of github.com:invertedtomato/ChERP-TT3