Converting to OOP

changed a couple of the files to be Class based. Working on changing the
entire plugin to be OOP