Webmethod

* Added generic implementation to add webmethods in theme