It's just a gravitationally attractive body: it moves towards the net gravitational force acting on it. So you could control it by trucking sufficiently large masses closer or farther away within a suitably large containment area, provided it wasn't too massive.
Easiest thing to do though would be to build it in orbit.