Overhauled movement, added movebox logic