Did a fair amount of work on it by now, might as well do a checkin. No Makefile or whatever yet, haven't even tried compiling it, I don't expect that it would go well at all at this stage.