separated mCap js in multiple files // removed mCap namespace in filenames