Initial commit

There are duplicate files, should clean stuff up. Also, some
unauthorised tests are submitted.