Added PieUtils

Fixed issues with last to commits.
This commit may appear weird.