Removed Dependancy to 1line-core.

Dependancy to oneline common is removed by locally importing the single
function.