added models & querybuilders, more extensive API definition
changed api definition, implemented basic calls