Comment updated for the two based app entry files.
Updated author information.
Added file-level DocBlock.
Removed trailing whitespaces in the empty lines and added a newline at the end of each file in the core.
Removed trailing whitespaces in the empty lines, fixed identation and added a newline at the end of each file in the sample app codes.