created permissions hook, menu hook and page alter hook. Also added JS required to attach slingpic to all img tags that match the set class ex:'img.my-img-class'