classController initial
index refactoring