Update all programming to use m3_common

This should clean up and consolidate most of the software as well
as improve the future reliability and modularity