renames Pages to TabContainer and refactors it
moves TabContainer to dom
adds tab className as a parameter to TabContainer