Finished the sorting system, smoothed out the whole thing
Added license