Added discovery function and Bridge class, and moved everything to an src directory