add iterator pattern.
add mediator pattern.
fix encoding.
update bootstrap to v3.0.1