Removed complex LearnType, added simple CategoryType

Everything uses the database class which will eventually query the
database and then revert to the defaults if the query doesn't return
any results.