Change read_cfg to be python<2.7 compatible. Added license tag to setup.py