Text this: Implementation of a Geant4-based code using low-energy gamma-nuclear final state model for photonuclear studies