feat(tab): refactor tab (fixes #73)