Added JavaDoc to all classes and everywhere where necessary.
Implemented a graphical test of the adapter class.