add index file for component