Renamed DB to Database and implemented real rollback plus code review.