add models directory
cleanup
rename MessageIn to InboundMessage
extract MatchManager class