Added ability to add, edit, and delete virtual directories to/from applications

This adds all the abilities to use vdir