Pass $Database into Structure when creating it inside a Database object

As it was, the Structure doesn't initialize with the correct database
and even sets the wrong prefix incorrectly.  This meant that the
standard database may have been initialized unnecessarily as well.