Removed commented out code. thats what git is for kiddies
Refactored model.js into separate models. Only permissions stuff is left in model.js now