Set up raph object