Restructured lwrp, added load and unload actions