rename module index to main