moved some functions to utils class (ease of use outside library for downloading mms maybe, or other things and cleaner code) and some mms wifi changes