added simpleplan function and PANPOS struct to the portsf library