extracting pools table to a common directive, fixing bootstrap and delete commands.