Added goroutines and Sqlite3 database access