Remove unnecessary asserts in main.lua
Add `moving` boolean to the Entity class

Replaces the system of constantly modifying the `speed` field.