Templates moved to separate files.
Requirejs modules defined.