Created main file (converter.py) and api script (units.py)