working on element
implemented loading configuration from config.xml
added LocalStorage and some other changes