cleaning up the Engine component

- moved commands in the Engine component to their own files in the
'commands' directory