[Engine] Script runs without freezing. Added core, entityManager.

Script moves line with arrow keys, closes on escape.
[Scripting] Moving back to lua.