Refactor dotfiles

- add bits and pieces from the internets
- add support for .*.d style directories for extras