remove class declaration

removing main graph declaration