Refactoring of actors which handle requests to be more generic, separating BS from reusable code