Use of static variables and database emulation

It was promoted the dashboard object in a global variable which is
shared between other classes.  By other hand, it was created a
method that emulates latency in database operations.