added new files for separate functioning of maps. still quite defective
though