Renamed "stargate" library to "sglib"