Moved batch fetch function
Add batch fetch support for generic relationships
Add tests for generic relationship batch fetching
Add missing files