Refactor management related classes into a new management package.