refactor general dev out of stanford-dev