Add getters and setters for direction and velocity and update
constructor to include width and height