Add pconfigure build script

This also contains a simple build script.
Add tek and build script