finished options and gui
improved main and reader