Added Javadoc and license information

Signed-off-by: Dominik Schadow <dominikschadow@googlemail.com>