added saving data from form to model
added framework for saving data
added suppot for professional subs + minor typo fixes
added writing to DB