Fist of all your subnet is fine. Secondly, once you subnet a network it is not considered "class" anymore, it is "classless." just make sure auto-summarization is turned off on your router. Also RIP and IGRP will no longer work.