moved global TODO notes to TODO.org
wrapped SQL INSERT queries into transactions