* ajusted code format.
 * support offline mode.
 + added setting view.