Merges @maxcal´s rw2 codebase with the back history of @karl-petter´s original repository