GePS PD: first usable performance patch

The main functions are implemented. UI, templates, and comments have
been added.