Refactor app structure.
All the controllers documented.
MARK's added