Total Overhaul.

converted most of the code to OOP style.
Integrating an MVC design.
Total folder structure and function naming overhaul.