break up add and edit controllers