Refactored BufferManager, implemented semi efficient locking. Basic BTree files added. Makefiles updated