Smart Medical System for Detection of Microorganisms