move ToolLevel and ToolType to API

Signed-off-by: Nick Minkler <sleaker@gmail.com>