moved helpers and managers in separate files