init framework and gamelayer