creates module dir if it does not exist