Reformat all the code and remove redundant notices. Closes #4 and #7.