Added file and function comments, inline comments still to be done