Changed BTree-Implementation to safe pages and added lock coupling