PSL(2, q) as an image of the extended modular group with applications to group actions on surfaces