improve to let it not only could be use in rails.
improve middle to keep thread-safe.
rack list.