master add more configuration info. Should be restructured and modularized.