moved location data into separate module and made marker creation more generic