Updated to use SDL 2.0 and moved init and cleaning fuctions to seperate class