did a major refactor and started drafting the plot generator