Got the initial prototype somewhat working.