Major refactoring, added manifest for mobile clients

Performed major refactoring of the application structure. Added a new
content assembler for JSON UI layouts. Added a skeleton application
manifest for mobile client support/