tons os bugfix for hasMany relation conditions
code cleanup
bugfix: doest not generate menu when there is no route prefix