Add config interface for API