added multiple dev environment support to config

attempted to not break api with separate exported function