new directory structure
changed logic of UI and modules core