add modules index, split core controllers