.wpk archive mapping implemented

First try, dont know how the header works