converted some debugs.writes to console.writes and renamed things to armsim insitead of armsim2.0