Move some code to a better location
Move some code to a better location

cderici/pycket,samth/pycket,krono/pycket,magnusmorton/pycket,magnusmorton/pycket,krono/pycket,vishesh/pycket,samth/pycket,vishesh/pycket,pycket/pycket,magnusmorton/pycket,vishesh/pycket,krono/pycket,cderici/pycket,pycket/pycket,samth/pycket,pycket/pycket,cderici/pycket