add apps/drone; fixed a few bugs