Algebraic Structures In Modular Q-Hypergeometric Series