First working version of oracle with sockets and threading support