Infrastructure automation and management system