Add flask application for PGen web UI and tests for it (0.3.0)