add optparse fallback
Transfer arg parsing in separate function
Display nicer help message for optparse
fix args positioning and add check before dir creation
Merge pull request #2 from mistio/optparse_fallback

add optparse fallback