refactor: Move functions of the app into a new class LKernel from LCanvas
refactor: Share the global LKernel instance without Q_PROPERTY