refactor on DatabaseHelper
change gitignore