Added RESTAdapter
Splitted code in more files
Added documentation (a little bit)