add public folder and update layout