Add Loader

Move index contents to a main component and add the loader component to the index.html page.

Loading logo is still missing.