Updated documentation. Implemented rudimentary borrowing.