add simple switch feature to test controller
add upload function
fix add mac to port bug
fix test controller issue