Add environment variable config support. Cascade config through files and env vars
Extract flag handling to Config