some housekeeping

and learned about CREATE TABLE IF NOT EXISTS