Moved the license to the end of the file, so that users can see what this thing does before knowing its licensed under apache 2