Makes it possible to read points file from console
Makes it possible to read points file from console
Fix minor errors in implementation