Create output class