create GameLayer, InputLayer, MainLayer