add Inspect class and Security class, fix a typo in inspect type