Fix licence

This should be under LGPL not AGPL.