Support global transactions
Change directory structure