typesafe console setup