Added acceleration class
Added return types to orientation class