Extract base layer logic to a service

Extracted base layer logic which was in map service to be able to retrieve it
from other services that may want it.

Fixes #1
Merge pull request #2 from jchapron/jc-add-baselayerservice

Extract base layer logic to a service