added camera api
added initial config