added before/after/error methods to App
added pinba service provider