Add init,package,deploy functions.