Finished server & client side api (get/set/new item). api now accepts get&post parameters