add rest support; project test moved to another project