Added engine files
Updated readme
Fixed Math.random