An Edge-View-Photodetector for Simplification of Optical Packaging