Add index.js
Move engine to own folder
Add engine.js
Add engine and first test