more project setup stuff and also moved qobjects out of cpp into .h to ease the creation of the MSVC QT projects.