Some initial code and runtime design