Imports sorted
Added test for debug message format
Added subsections for java and scala documentation; changed Version