Added documentation.
A few layout fixes.
Merged REST configuration.
Fixed javascript controller.