apigen moved to bin (closes #332)