Done a little refactor on io_points.py