Refactored Contollers to use shareed prototype methods - uch more memor efficient.  Also a few bugs here and there related to the refactor.