rename GLConfig to GLConstants
port some of the Line Game model
port more of the Line Game model