Refactor dotfiles