Change the style of this wrapper to a more OOP approach making it easier for people to develop using this wrapper.