Initial commit for the code plucked from @MoneyDesktop's Goals platfrom