Parse multiple terms from input
Move parsing functions out of details namespace

There is no reason these shouldn't be used on their own.