Moved edit and detail into own files