main classes renamed as toolMain and api as tool name