level system refactored; map render system added