add node files and move static files to public folder