First partially working version

Very very very oreliminary, yet gives a working version on Mac OS via boot2docker.