restructure the directory and add css/script in lib