move some stuff around in core
remove process function from core and clean up a bit
wip, add functions for handling player/enemy attacking and collision