update api, split stremaing and analog into 2 separate controllers