*** Avoid some path bugs
*** Fixed delegate and events bug (not including the library in some cases)
*** Code cleaned