Add modformat module with xyz read/write functions