Shader stuff mainly

Reading in shader files, setup a common function namespace and moved
some files around. + few minor fixes.
millionthcommit