Merge last changes in the core and move REST support to GitHub