recomposed the map initializer, added map function and default map funct...

...ion.

Map now repositions to accomodate for search params.