Publish javadocs

@tabergma 
- [x] enabled javadocs in all modules
- [x] fixed javadocs in frontend
'optional' indicates whether a remove button should be displayed