Setting up boost threads
initial working draft of threading model