Adding multiple thread features to the Floodlight2Janus module and clean some code