Changing prototype to work with top 250 and create local database object.