LVS: Convert to a module

Change-Id: I07cf6227f3d443df006cb18c2dbf73b9c03ad280