main is index

Fixes #5

Thanks @dylang