- Changed the naming of things to make it more generic
(i.e. there might be other use cases than REST)
- Fixed bugs