Added license information for Read The Doc's Sphinx theme
Added the AGPLv3 license file
Added copyright notice to SQL files and changed the return type of a getter in the DB