I already found this library [github.com], but found out that to extend it you need to know regex. So I thought I'd just start from scratch, this way I will at least learn something new and am independent from someone else's code.