added baseRouteName variables
added lifecycle callbacks
check if mainGroup.sub_group variable is defined before using
Merge branch 'refs/heads/master' into 2.3