created Engine interface
added simple tests