move seed functions into seed module from img