Added initial skeleton for front back detection. Still need to calibrate