Removed unused import.
Added more javadoc.
Added compass utils.