Configure javadoc compiler
Modify internal send method of Medium
Fix some issues