Implementation of the base for photodiodes and the for diode from EdmundOptics

Just tried to implement the base and the photodiode itself. Need your review and help.