Implemented some sort of Action system