Translate to english. Add comments and doc strings. Minor refactoring.
Update readme.