Removed platform specific code.
Added two renderer subclasses