refactored and updated readme and gitignore