Written KeyHandlinManager class
Added quit key with handler