Implemented input events such as click and type. Began creating high level API.