moved metadata table creation to its own class

metadata table creation is now called from the CompareComponent class