Cleaned warnings, warped debug and renamed setSecret to setTokenSecret to conform with documentation
Added the possibility to include the library