Now creates new sub transaction if not present.
Now raises transaction not found error if invalid transaction id is given.
Seperated expense manager routes out of the old api routes.