moved index to client dir