Migrated CLI functionality.  Approx 90% done and tested

Also fixed session timeout issue. created new views