Removed some files and add create index method.