added test as well as full API of engine. Removed scala folder