Turn project structure to more framework-base one.
Simplify project: remove external config, window