initialize and create db