added api stub methods, added model associatns