Reading coordinates from file. Polishing some features. Formatting. Cleaning code.