tileLayer class added. Load of js and css moved