Refactor qml resources into separate files