Refactor code. Put ebtables stuff at sliver creation time (start/stop) on