add a QQmlApplication instance of grafips

Instantiates the objects in QML, instead of setting them up in main and assigning to properties.