Change 'array' to 'object'
Give classes access to the Database