Rename main to index

Signed-off-by: Timothy Gu <timothygu99@gmail.com>