Addid GhostRec code

Addid GhostRec code plus some reformatting