added test files
Refactored file parsing section
refactored and added README