Fixing Errors in lib and hooks into lib
Merge branch 'master' of http://github.com/LukeShu/leaguer