Refactoring; abstraction of stanford as input; UI work