add notes of what classes do in Java, + code examples