Added support for actually parsing config and doing the binding in input manager.

This continues the work on #7.