Design and folding of colloidal patchy polymers