Moving some stuff to pyutils package