Added getInput, improved comments

Signed-off-by: Nick Brook <nick@akkroo.com>