Register Stan

Initial proposal for an interface to 'Stan as an external program'.