Add legislationsxml module to replace parameters module.
Add legislations module that handles legislative parameters in JSON format.
Cleanup code.