Move directories to a separate post type and fix relationships.

Work on drag and drop.