Imported old code, added a short description in README