remove no needed files
made functions with RWS monad