move AliasedGroup to console.py