moved code from process_request to process_view; readme updated