PrincipalFrame class created