Added comments to most of my functions, also added a comment saying the content/type of url encoded information in post requests