moving subscriber code to its own package