First code commit

Nothing significant. Working out designs while I get MM working locally.