Initial commit of functionally-complete code.