remove which dependency, replace with relative path to each bin file
change mongodb to postgres db
initial version of pg_model