Automated cash allocation software