rewrite split menu,added menu item depth
seperate populate tax items from core code
added dev comments