update to map api

added search function and cleaned up css