M6 prototype

a prototype of M6, details yet to be modified