Rewrite some code. Pools support (only danbooru now).