Added .db to gitignore file
Migrated ticket to class file