Fixed the directory view, added a minimize function and changed the output
to be more static. Fixed #4 and #8