tweaking main
Made parse create arrays on heap using new. Now can load models of any size