creating mainline directory