psa: Moved harmattand code to Qt project with sync option