added packageTypeController.js