clean imports and add scaladoc