remove cleandb
add command for analyze a given document
args parse simplification