remove unnecessary frontend pages
add lib folder