Fix input class by adding keys and using correct key code for indexing, add information rendering