Beginning refractoring. Learning how to do it properly and how to use a module pattern.
Continued work on the refractoring/rewrite

There are a few problems with it right now but ill sort them out later
im going to nap now. nini
console logs so I can figure this thing out
Continued refactoring, fixed bugs
Completed refactoring
Merge pull request #17 from Phalanxia/refactoring

Refactoring completed