Added state messages
Added scoring functionality