move init to pkg/cmd