Added QT proj. and refactored member variables.