removed inheritance from App to avoid lazy initialization issue