moved initialisation of models into an own func
Authored by: anallyst 2011-03-06
Parent: [r3132]
Child: [r3134]