Added experimental scanning functionality

Experimented with scanning class (not yet working)