added utility function to package controller for installing blocktypes