Added first version of public API
Added settings for API