Refactored zander launching and directory logic into helper module