refactor requirement parsing
[wip] travis