State machine and message handler
Added attacking functionality
Added attacking more functionality