Initial version

Initial, hopefully working, build.