Added Q_OBJECT marco in models