Reworded the API and source code to make it more intuitive to follow the logic.
Enyo-DCO-1.1-Signed-off-by: Blake Stephens <blake.stephens@lge.com>