added simple game application code with first test state.