improved readability in get_input and added custom db
ignore .db files
run all files, not just first 100
added init_db function