Added comments, tiny little cleanup and added console support to /transactions