major refactoring and cleanup of dotfiles