Rewrote some stuff and added info
Added more references