ignore some files
reorganize options and command line parsing