clean tpl branches handle logic
Add a sftp sync task, big improve, never need to update views to server anymore