added menu rendering capabilities, moved tabs in their own module