cleanup, move some of the data in projects.data.php, put reusable lambdas in a separate file