split main.ls to separate main-* files.
Signed-off-by: Rack Lin <racklin@gmail.com>