Merge RestAPI with basic funcionality

the 2nd sentence is rather unclear.