Analytic and computational studies of structures and computational of rotating stars and stars in binary systems