refactored use of dom ids and introduced instancename
worked on dropdown
added testdata for settings dropdown to demo