removed '/rest' prefix for URLs.
Now: /smsgateway?text=123test will work :-)
fixed static resource handler, which serves static files