added multiple dev environment support to config

attempted to not break api with separate exported function
Merge pull request #24 from rdallman/config

added multiple dev environment support to config