Add profile support
Merge pull request #1 from hoverruan/master

Add dev/prod profile support