edit: address and media components

breaking up address and media components into separate files.