change db to postgreSql
add technology id range check. Qiu and Ruoran
config travis ci for postgresql