Added shadow map support (depth FBO) and simple primitive objects. Minor refactoring.