improved models - added constructors; added actions.py (controller actions)