minor shit
lots and lots of code optimizations
more doc...
fixing tests