Major Update

fixed and created a bunch of code