Remove unused files
Extract js code to file
Basic engine