refactored and small changes
updated README