Fixtests

Has:
- fixed tests
- lot of code changes compared to what i initially wrote this library first.
- Some simple demo example in docs that works
- Readme is still incomplete (since i am going to finish the yui documentation and update the readme later)
- basic documentation is in the docs folder, again needs lot of pruning, i will give that in the next PR


issues:
----------
- I cant set it up with travis since am guessing it has to be my own repository for that to happen. (am not sure of this)
-I cannot see code coverage!! I have given up on this, hoping it will build on travis!