message and parse stuff and stream and datetotimeandtimetodateandtimetodatetimetodatetime functions moved