added early history, documented external application implementation and cleaned up