updated examples
updated read me
updated tests
changed http class for cors