introduce rest and add web resources