Updated comments and added a comment block at the top