implementation of Loader's deploy() and Definition class
implemented deploy method