Basic, and ugly, sqlite 3 implementation for saving the numbers.