Moved resources from lib to sample project, a little cleanup