Flow based programming with webpages as blocks