removes couple of unnecessary casts
makes it possible to generate a rest mock service from a rest service - main work done - polishing left
reverting generic stuff in light of new requirements
somewhat better texts
adds generation of rest mock service action in accordance with changed requirements