Added factory class (Table) for storing Database data. Fixed TerrainTypes file.