Added copyright notice, and removed some useless comments.