Initial work and listener for selecting geometry