Qt stuff added + new serialization