Updated gamestate to be more secure
Added apache license