moved stuff to monadio that i forgot to put there
fixed warning and hlint complaints