Final clean

-Cleaned up some useless code and comments.
-Added "copyright" thing notice at the beginning.