move functions inside class, nested pies. was trying to do custom colors before, but deleted that
some viewport options in a pie
some code cleanup. but probably this can be the final version
cleanup of snapping pie menu
polishing the viewport pies