made copy of directorysize called directorymodule

directory module is just an idea (like size) that would put all the
directory functions into 1 module