Refactoring of code.

Added new files. controllers, contentLoading js files.
Added Json files.