Added basic config file api. Useful for quick and dirty configs.