Added 'errors' module and improved 'online' module

The errors module contains all definitions about the CentralReport custom errors. They can be used with the 'raise' function.
The online module have been cleaned and improved.