Made more progress.  Still need to write calibration routine and hook in maze + sensors + controller once they're done.