upload role loading methods and made the roles a repository that is outside of genastack