Refactored version control. Added file .gitignore