created Engine interface
added simple tests
Merge pull request #4 from fmd/render-interface

Render interface