This is a legacy application which is based upon Appccelerate sensor sample