Add more javadoc
Update javadoc for resource injection and prefs annotations