adds compass sensor interface and a basic implementation