refactoring roles and removing main roles_cookbook