added lib and cfg files; moved main js
initialization done