The first rather working version is upploaded. Complete with half assed
comments as well.