Clone of https://bitbucket.org/JeanLucPicard/nxt-public/src