Broke stuff into utils dir