Added support for __init__ function in webapp.
Updated layouts and includes.
Removed webapp stuff while we move to class based architecture.
Ported login controller to class-based arch in webapp.