changed item location algorithm & added infra for multiple maps