App State - chasing cube with app state

added class using App state - cubes work on an app state.