introduced group middleware, views and decorators refactored