Ignore database.db and remove unnecessary files