Move frame to new class