create FormatManager and move manager classes into their own directory