Added getCurl, formating functions, some fixes and stuff...