cleanup for api v2
added ability to add transactions