added transaction and warehouse classes