Pulled out map object creation and contact listener