add newline after curl
added very basic channel api features
implemented polling and basic channel api features
first working channel based implementation