added static mapper function, added fragment binding in layout