refactored out class methods in to prototypes. started devjournal