Update

Update to SQL structure.
Sanity checks added to download, database and email classes.
Update to Encryption class with more checking, new functions is_ipv4()
and is_ipv6().
Update to Download class with more options for function.