Add bespoke compatibility

Add bespoke compatibility and the compilation system