moves common utils functions to a file (pickle and ellipse)