Added rebar.
Implemented add_pool.