[enh] added setup script and console commands