Moved loading of Program and Texture into main.

Temporarily, until the parser is written.