Moving glreader code out into main folder