Revert "WWW folder / application folder"

This reverts commit adb18a9cb6ee25218ef94ac92483a9e6f333f725.
Updated www folder.

Some bugs fixed and additions made.