added API for configuration