add gmt.py for the GMT class