added quit command to main loop
finished sets methods and fixed routing
added printing to subset check