Refactored. Now the access to each database is done in its own file to make Hero more extensible.