Added dispatchable controller events for Content and Directories
Fixed passing templateclass parameter