Updated and cleaned up a large amount of code