Create new db if day changes
Catch Ctrl+C and exit