Heterocyclic methacrylate-based drug release polymer system