Updates the indentation to better comply the PEP-8. Some changes remains to be done.
Substitutes all DIRECTIONS['dir'] by DIR_dir.
Fixes bugs produced by last commit.