made plugin into a buddypress component, added functionality for notifications