Initial separation of module and utility as per issue9 in github