added option parser and automatic file rename feature

(0) -1 +1 +10 tip

mercurial