Huge refactoring + Block Twitter share

Included in the refactoring:
- Generic way to save/load the configuration
- Add a DOM prefix