refactor .. init yaml based deployment