changes adding polymorphic
AJAX and API experimentation