move qobject out of cpp and into a .h to ease setup of project