My idea was more that there is the change of the industrial revolution bringing in various different things, and so people are beginning to turn away from magic as a source of power, and so the magical people are losing income and becoming part of the lower classes. Other dynamics could be added and things could be adjusted if you wanted, but it was more of a general idea. The steam punk could be avoided if we sorted out the "world" before we began.