moved algorithms packaging to deployment step