Developing mtoy code. Current status is that it sets up atomic data and alloctes memory