Created a simple UI class that draws objects interactively and stores them