reorganize app operations into pdal/kernel