Documentation drafted. Changes to layout and json obj handling.

Issue #21
Issue #45