revise data insertion to use threads
Release 0.2.1. -m