Source code for CREST project