Adding API and example config file