Changes to framework

Added gaming functionality to framework and a gaming sample