Moved movement and attacking to their own methods