add basic category generation
fix deletion of categories
remove generated module
add rights to the sequence action when necessary
add sequencing to the categories
bugfixes to categories generation
cleanup some code
fix generation of categories and sequencing
add categoryId to the template