Segments Controller new, create, edit, update with tests