Added GPL copyright notice to main class.