Utils

Split out utils
Main definitions

Split out utils