Refactor with namedtuple
Merge pull request #27 from yozo1984/master

Refactor with namedtuple