commented code on controllers and models