Support test & prod mode.
Updated README