[FEATURE] introducing pibase controller
[TASK] cleaning up php view