fix some comment
fix some trash code
add input file parameter (prerequisite type)
improvement model  and initial_db script