Basic pedometer and stair tracking

M7Model.swift is the meat of all the changes. 
Umm maybe this file shouldn't be checked in?