working on transactions api, client connections, file structure