general purpose accounting library