Fix resource and tutorial init
Remove lib