Initial flatten of packages
Moving preview program to cmd/preview package
formatting
Cherry picking command timeout from 1.2.0