Dev mode and contents excluding

- Added a parameter to support dev mode.
- Added excluding contents in config.