finalized and cleaned up the directory
just some little housekeeping functions