Moved the database to the shared array

Signed-off-by: Gerco van Heerdt <gercovanheerdt@gmail.com>