refactored and added README