refactored tailor, ssh and environment code into private recipes