create app classe to handle ressource retrieval in a easy way