add database module and some script for extracting data from webaom