Starting from cs50 frame work, and header and footer modified