migrate more of the epsd2 software to misc/epsd