Altered tab fragment classes to be independent