writing output to sqlite3 database
moved particle related code to a separate source file
initializing and beginning to record to database
basic analysis logic and write functioning, but having a sqlite3 memory leak
fixed leak and confirmed with valgrind