Designing and prototyping data-intensive applications in the Logres and Algres programming environment