Added imports and structure.

Copied from the provided index.html