(cleanup) Added licensing and comments.