Fixed license, improved option parsing, updated initial dotfile array, and refactored file operations.