How to easily externalize configuration

@arnaud refer this post, it might help you.