Refactor server side code. Make html file structure. Configure nginx
template.