Ihatebranches

implemented smart search and cleaned up editVC