change removing to decorator
cleaned up/documented condense and moved tern common stuff to common.py