load data to GL
implement remaining functions for test