Latest MEP.js updates

Starting to build in the business logic