improved detail view controller, refactored network controller