Add endpoint to create a module type