prepared statements, create correct db automatically, removed unused deps, better readability