Moved HandlersManager to src folder. Small refactorings.