changed the way how model.insertModelCreationCodeHere() handles methods.
Methods are now recognized and no longer added over and over all the time