created loading_indicator class