refactored errors handling, updated README