Minor refactoring mode.

Extracting chunks of code in named functions, updating variables and
attributes, changing interfaces, etc.
Styles: Where we are going we don't need Bootstrap.