Handle input and add to calendar datastructure