local multiplayer implemented

Also refactored some of the code from the abilities