v4 added common packages for console and printing