* initial checkin, basic api functionality
* some changes in the v1 api