Don't litter global namespace, add io helper, finish shader functionality