OOP UPDATE

Classes updated and structure to function like OOP PHP.
Merge pull request #15 from medanny/OOP-UPDATE

OOP UPDATE