remove writing functions from init and packaing it all on utils #12