added loading view and os classes