Refactored templates and .gitignore sqlite3 files