from and to params for get_log, some refactoring, readme