added map structure, map rendering