Completing l2switch-main module.

Change-Id: If038e5ab8779c4f46d18e8f92c3d7eaddf3a65d7
Signed-off-by: Alex Fan <railor33@gmail.com>