A Scalable Hp-Adaptive Finite Element Software With Applications In Fiber Optics