add new main page.
add flattab library.