Refactor module, splitting install/service/config