Added bbpim library and permissions to app template