Adding Position Class to track current position and handle the math parts