added basic functionality to main console, included add event