Added a bunch of comments and sources