Added the ability to add classes to the database, both globally, or individually.