Add binary and database files to gitignore.
Keep keypoints in sqlite database.
Big refactor.