defined roles for dev and local environments.
added support for www