Refactoring project into Proactor library