Terrain and Resource Manager

Basic Terrain and reource manager created, still requires testing.