Added doc
Preliminaries for the fixed categories
Added cleanup option to script/upgrade_db
Added support for #cat