Finish off create, read, update and delete for directories