add support for secret, server-side only config
fix regex for route generator
cleanup
cleanup
injectContentIntoFile throw error msg if regex fails.

- Issue #10.