Fixed bugs, added new examples, refactored a little bit