:art: Refactored for better code reuse
:art: Refactored for better code reuse

foosel/OctoPrint,Jaesin/OctoPrint,Jaesin/OctoPrint,foosel/OctoPrint,foosel/OctoPrint,Jaesin/OctoPrint,foosel/OctoPrint,Jaesin/OctoPrint