start on making parse.py work as a module