moved files to public folder and added header & footer