Functions for marker and popup, removed controls

Made function for new marker and popup code.
Removed the controls and openlayers attributions.