Initial commit, including blocking and nonblocking queue, log