Added mechanism, to detect stage client-side (window.environment)
bottle Service local and remote impl
implemented bottle service directive
changed home to use directive