Integrated BaseTool from kalibro_processor

Signed off by: Renan Fichberg <rfichberg@gmail.com>