Moved attributes from material to shaderprogram.
Added viewport and perspective.
Added camera class, have working 3D rendering