Move nested record fetching logic out into its own class

Just to get it out of ASModel_crud