Skeleton input handler added.

Input handler class added.
File main.cpp altered to work with new input handler.