finish api_view and clean unused views