code to manage monetary investments in projects