core: rework config processing, replace `path` for `modules`
devpanel: relocate index file
core: when path and filename in config, filename should be relative to path