Added and API and made some minor config changes.