moved load frame from datamodel to static void main method