Added singleton database queries and new tables/logic for achievements, user achievements, and challenges