write GBassLoader and relational code