change MPI tags to enum
fix default port of mongo
add command options parse