Move openflow logic to ovim.py from httpserver.py