move generation of parcel and plot from databaseconnection to own classes