First working version of embedded API, temporary settings dictionary code to work with test app