adding Server CLI to fetch views with -getviews *filename*. fixing several bugs