Apply refactor mvc packages