An electronic device comprising a structured organic film with an added functionality comprising a plurality of segments and a plurality of linkers arranged as a covalent organic framework, wherein the structured organic film may be a multi-segment thick structured organic film. When the wide-angle lens is to be used, the parallelogram prism or one of the two triangular prisms is to be removed from the rear of wide-angle lens so that the wide-angle lens can be focused on the sensor enabling light to pass therethrough. The housing may have a bottom portion with a substantially flat surface and an aperture for the position tracking engine.