initial commit of MagicFrame source code