Rename layout to index; Fix routes