More refactoring. Made final choice with qt.