First full implementation

v0.1 of runtime service