added HW common functionality lib to HW WP plugin