adding config and index file