Split project into a class library and a gui