Fixed/added unit tests, introduced Renderer class
Added Travis