Fix documentation and java typo. Delete unused classes