Add license header and javadoc to SleepTool