Second version

Reduced latency, more configuration options, support for multicore