Perspective Matrix and Per-pixel lighting

Did I do this right? I have no idea how to use github.
can you give the varyings meaningful names like vNormal and vPosition?