Accept an array of tables to dump in constructor

Small modification so there is no need to dump all the database, only the selected tables when calling the constructor.