Classes and JavaDoc added.