Updated libraries folder to merge all in one. Cleaned some code.