update gitignore
add function to insert into db, add handler for saving entries