minor update

-added namespaces
-restructured device
-added CGLMesh

unstable/untested