Added a header and alot of other stuff