business logic beta
TODO: access qgis objects