More library work. Started making some example apps.