Added abillity to explicitely set directory mode
Updated readme and finished off Issue #5