drop unused classes
added ReplyCode enum