Added config window, refactor of modules import