Added multicore support, port is configurable