Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
The Glasgow and South Western Railway (GSWR) 187 class were a class of 0-4-2 steam locomotives designed for mixed traffic duties, by James Stirling in 1870. They formed a model for large numbers of similar 0-4-2 mixed traffic locomotives subsequently built on GSWR and other British railways.
Development
James Stirling’s predecessor at the GSWR had been his brother Patrick, who built five classes of 0-4-2 locomotive for freight duties between 1856 and 1866. After Patrick left to join the Great Northern Railway, James sought to develop a version capable of a wider range of duties. The class has been described by Casserley as ‘probably the first engines coming within the modern definition of ‘mixed traffic’ locomotives.’ Twenty examples of the class were built in 1870-72, but the design was further developed by Stirling with his 208 and 221 mixed traffic 0-4-2 classes, of which sixty were built between 1873 and 1878.