added initial files, includes refactored m2.py, new run.py and scriptinjector.py.