Refactor. Move code to handle dotfiles to own class
Refactor. Replace if/else with polymorphism
Remove unused source_dir parameter