copy example from bgfx, start setting up main