added CTemplate lib, created shader program class