added my first method to main var. We will see if I can't clean up my code by using js patterns to help.
Restructured to be more like OOP patterns. Hopefully will make things easier in development from here to next commit will be attempting to attach everything up again.
Completed OO design pattern on existing code. Now to flush it out more and have it grow.
I believe I cleaned up all bugs introduced from the js_pattern branch. considering merging the branch back in soon.
Just for json change