Started work on input implementation.