added lifecycle to type instance

renamed pipeline to pipelineengine