  We report on the software architecture we developed for the Open University's
remotely controlled telescope PIRATE. This facility is based in Mallorca and
used in distance learning modules by undergraduate students and by postgraduate
students for research projects.
