split node and relationship index support into separate files