move home dir function to starrs.hs