Refactored basic dotfile stuff into module