Added updated locking and observer methods.
Added transaction API.
Added explanation of transactions and locking.