simplify API by removing all the app stuff